const getters = {
  // sidebar: state => state.app.sidebar,
  token: state => state.user.token,
  // avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  // addRouters: state => state.permission.addRouters,
  resources: state => state.permission.resources,
  routers: state => state.user.routers,
  userId: state => state.user.userId,
  menuList: state => state.permission.menuList
  // routers: state => state.permission.routers
}
export default getters
